SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52843: A fatal error might occur when you run a SAS® Strategy Management Correlations and Regressions Analysis

DetailsAboutRate It

If you attempt to run a Correlations and Regressions Analysis in the Diagram Editor of SAS Strategy Management, you might encounter the following error:



Fatal error : 500 Internal Server Error

In addition, the ObjectSpawner_yyyy-mm-dd_Server_xxxx log, which is typically located in a folder similar to drive:\SAS\configuration\Lev1\ObjectSpawner\Logs, might include an error similar to this:

2014-04-16T16:05:51,148 INFO  [00000035] sastrust@saspw - New client connection (12) 
accepted from server port 8701 for SAS token user sastrust@saspw.  Encryption level 
is Credentials using encryption algorithm SASPROPRIETARY.  Peer IP address and port 
are [::ffff:10.38.13.206]:55019 for APPNAME=WRS.

You can encounter this problem if Enable Anonymous Web Access (Optional) is not selected during the installation and configuration of your environment, as shown here:



Enable Anonymous Web Access (Optional) checkbox

You can verify whether Enable Anonymous Web Access (Optional) was selected during the installation and configuration phase. Open the sasdm_yyyy-mm-dd-hh.mm.ss log, which is located in a folder similar to drive: \Users\sas\AppData\Local\SAS\SASDeploymentWizard and look for this entry:

login.webanon.is_enabled=false 

Note that the lowercase sas in the above path represents the user who did the installation.



You can remedy this problem by performing the following steps:

  1. Log on to SAS® Management Console with the sasadm@saspw account or another unrestricted user. On the Plug-ins tab for the Foundation Repository, select Environment ManagementUser Manager.


  2. With User Manager selected, select ActionsNewUser.


  3. On the General tab of the New User Properties dialog box, type webanon in the Name field and type SAS Anonymous Web User in the Display Name field:

    SAS Anonymous Web User


  4. Click the Groups and Roles tab and move BI Web Services Users to Member of.

    Groups and Roles tab


  5. Click the Accounts tab and click Create Internal Account:

    Accounts tab


  6. In the New internal account for SAS Anonymous Web User dialog box, provide a new password and confirm the password. Also select Set a custom password expiration period and never expire:
    Note that this password will be specified in Step 15 below.

    image label

    Click OK in the New internal account for SAS Anonymous Web User dialog box, and then click OK in the New User Properties dialog box.


  7. With the User Manager plug-in selected in SAS Management Console, you should see that SAS Anonymous Web User was just created.

    SAS Anonymous Web User

  8. Also, in SAS Management Console on the Plug-ins tab for the Foundation Repository, select Application ManagementConfiguration ManagerSAS Application InfrastructureBI Web Services for Java 9.3.

    BI Web Services for Java 9.3

    Right-click BI Web Services for Java 9.3 and select Properties.


  9. In the BI Web Services for Java 9.3 dialog box, on the Settings tab, select General Configuration and select Yes for the Enable allowing anonymous execution field:

    General Configuration

    Click OK.


  10. On your metadata server, select StartAll ProgramsSASSAS 9.3 (English). Note that your language might vary.


  11. In the SAS dialog box, type metabrowse in the SAS command bar and then press the Enter key.

    metabrowse

    Provide metadata server connection information for your environment. For User Name, provide an unrestricted user such as sasadm@saspw.

    Metadata connection


  12. With the Metadata Browser window active, select ToolsOptionsExplorer. Click the General tab in the Explorer Options... dialog box and deselect Metadata Browse Mode.

    Uncheck Metadata Browse Mode

    Click OK to close the Explorer Options... dialog box.


  13. In the Metadata Browser window, select FoundationSoftware ComponentFoundation Services 9.3Property SetsEnvironment.PropertiesSetPropertiesweb.anonymous.userid.

    Note that only the last 5 selections are shown below.

    webanonymoususerid

  14. Right-click web.anonymous.userid and select Properties. In the "web.anonymous.userid" Properties dialog box, click the Attributes tab and select the DefaultValue attribute. In the Value box, enter webanon@saspw, and then click Modify. Verify that the DefaultValue attribute is set to webanon@saspw.

    Note that this is the Internal User ID shown in Step 6 above.

    webanon DefaultValue

    Click OK in the "web.anonymous.userid" Properties dialog box.


  15. Refer to Step 13. Now select web.anonymous.password. It is the selection just above web.anonymous.userid. Right-click web.anonymous.password and select Properties. In the "web.anonymous.password" Properties dialog box, click the Attributes tab and select the DefaultValue attribute. In the Value box, enter webanon@saspw password as specified in Step 6. Next, click Modify. Verify that the DefaultValue attribute is set to webanon@saspw password.

    image label

    If you want to encode webanon@saspw's password as shown above, you can run the PWENCODE procedure. In this example, the password Orion123 is encoded.

    Proc pwencode

    Click OK to close the "web.anonymous.password" Properties dialog box.


  16. If you select either web.anonymous.userid or web.anonymous.password in the tree pane (see Step 13), the Metadata Browser display window shows the DefaultValue setting. For example, if web.anonymous.userid is selected, the display window shows the DefaultValue that you set:

    web.anonymous.userid Display Window

    Select FileExit to close Metadata Browser.

  17. You must restart SAS Remote Services for the above changes to take effect. First, the web application servers should be stopped, then restart SAS Remote Services and start the web application servers backup. Ensure that each web application server is fully started before you move to the next one. For example, for JBoss application servers, ensure that the JBoss - SASServer1 server log includes Started in 3m:17s:372ms before you start SASServer2. Of course, your start time will vary.

If you now attempt to run a Correlations and Regressions Analysis in the SAS Strategy Management Diagram Editor, you should no longer encounter the fatal error.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Strategy ManagementMicrosoft® Windows® for x645.45.59.4 TS1M0
64-bit Enabled AIX5.45.59.4 TS1M0
64-bit Enabled Solaris5.45.59.4 TS1M0
Linux for x645.45.59.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.